<%--
  Created by IntelliJ IDEA.
  User: MWL
  Date: 2019-12-05
  Time: 11:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>欢迎来到搭配页面</h1>
    <form action="show" method="post">
        <table>
        <tr>
           <td>
               <p>性别:<select name="gender">
                   <option value="-1">请选择</option>
                    <option value="0">男</option>
                    <option value="1">女</option>
                </select></p>
            </td>

            <td>
                <p>年龄:<input type="text" name="age"></p>
            </td>
            <td>
                <p>颜色:<input type="text" name="color"></p>
            </td>
            <td>
                <p> 风格:<select name="styleid">
                    <option value="-1">请选择</option>
                    <c:forEach items="${all}" var="a">
                        <option value="${a.id}">${a.apply}</option>
                    </c:forEach>
                </select></p>
            </td>
            <td>
                <p> 类型:<select name="typeid">
                    <option value="-1">请选择</option>
                    <c:forEach items="${type}" var="t">
                        <option value="${t.id}">${t.typename}</option>
                    </c:forEach>
                </select></p>
            </td>
            <td colspan="2px">
                <p><input type="submit" value="点击搭配"></p>
            </td>
        </tr>
        </table>
    </form>
</body>
</html>
